#!/bin/sh

source /etc/coyote/coyote.conf
source /tmp/netsubsys.state
source /usr/local/easycontrol/functions

easyadminpidfile="/var/run/easyadmin.pid"
easyblockpidfile="/var/run/easyblock.pid"
easypreblockpidfile="/var/run/easypreblock.pid"


/usr/sbin/thttpd -u root -p $EASYCONTROL_PORT -d /usr/local/easycontrol/http/admin -nor -c "/cgi-bin/*" -i $easyadminpidfile

/usr/sbin/thttpd -u root -p $BLOCK_PORT -d /usr/local/easycontrol/http/block -nor -c "/cgi-bin/*" -i $easyblockpidfile

/usr/sbin/thttpd -u root -p $PREBLOCK_PORT -d /usr/local/easycontrol/http/preblock -nor -c "/cgi-bin/*" -i $easypreblockpidfile



